package com.ruoyi.process.mapper;

import com.ruoyi.process.domain.UnqualifyHandle;

import java.util.List;

/**
 * 不合格食品处置Mapper接口
 *
 * @author wng
 * @date 2024-08-04
 */
public interface UnqualifyHandleMapper {
    /**
     * 查询不合格食品处置
     *
     * @param id 不合格食品处置主键
     * @return 不合格食品处置
     */
    public UnqualifyHandle selectUnqualifyHandleById(Long id);

    /**
     * 查询不合格食品处置列表
     *
     * @param unqualifyHandle 不合格食品处置
     * @return 不合格食品处置集合
     */
    public List<UnqualifyHandle> selectUnqualifyHandleList(UnqualifyHandle unqualifyHandle);

    /**
     * 新增不合格食品处置
     *
     * @param unqualifyHandle 不合格食品处置
     * @return 结果
     */
    public int insertUnqualifyHandle(UnqualifyHandle unqualifyHandle);

    /**
     * 修改不合格食品处置
     *
     * @param unqualifyHandle 不合格食品处置
     * @return 结果
     */
    public int updateUnqualifyHandle(UnqualifyHandle unqualifyHandle);

    /**
     * 删除不合格食品处置
     *
     * @param id 不合格食品处置主键
     * @return 结果
     */
    public int deleteUnqualifyHandleById(Long id);

    /**
     * 批量删除不合格食品处置
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteUnqualifyHandleByIds(Long[] ids);
}
